package com.darren.architect_day06.visitor;

/**
 * Created by CCJK on 2018/12/1.
 */

public class UserVisitor implements Visitor {
    private String name;
    private int age;

    @Override
    public void visitName(String name) {
        this.name = name;
    }

    @Override
    public void visitAge(int age) {
        this.age = age;
    }
}
